#import cherrypy
<div class="tl"><div class="tr">
    locals
</div></div>
<div class="menuContent">
	<form action="renameCategory" method="POST" name="renameLocalForm">
		<input type="hidden" name="categoryNewName" value=""/>
		<input type="hidden" name="categoryId" value=""/>
		#if $cherrypy.session['user'].locals != None and len($cherrypy.session['user'].locals)>0:
			#for local in $cherrypy.session['user'].locals:
				<img style="cursor:pointer; font-size: 11px; height: 2%;" src="/static/images/edit.png" title="Rename"
					onclick="renameItem($local.id, 'local', '$local.name');"/>
					
				<img style="cursor:pointer; font-size: 11px; height: 2%;" src="/static/images/user-trash-pp.png" title="Delete"
					onclick="deleteItem($local.id, 'local');"/>
					
				<a href="/main/selectByLocal?localId=$local.id">$local.name</a>
				
				<br>
			#end for
		#else:
			You have no locals.
		#end if
	</form>
	<!-- div  style="background: white;">
		<form name="categoryForm" action="/main/insertCategory" method="POST"/>
			<input type="text" size="10" name="categoryName" value=""/>
			<input type="submit" value="new"/>
		</form>
	</div -->
</div>
<div class="bl"><div class="br">
--
</div></div>
